package com.css.dzj.dzjap.modules.lawenforcesuper.service;

import com.css.dzj.dzjap.common.util.R;
import com.css.dzj.dzjap.modules.executorinfo.entity.ApExecutorInfoEntity;
import com.css.dzj.dzjap.modules.lawenforcesuper.entity.ApExtractLawerEntity;
import com.css.dzj.dzjap.modules.lawenforcesuper.entity.ExtractLawerRelationEntity;
import com.querydsl.core.QueryResults;
import org.springframework.data.domain.Pageable;

import javax.servlet.http.HttpServletRequest;

/**
 * 安评单位抽取---执法人员抽取
 * @author limanman
 */
public interface GeneralExtractLawerDeptService {

    R saveLawerExtractInfo(ApExtractLawerEntity apExtractLawerEntity, HttpServletRequest request);

    ApExtractLawerEntity queryLawerExtractOnly(String taskId, String recordId);

    QueryResults<ExtractLawerRelationEntity> queryLawerExtractInfo(Pageable pageable, String extractId);

    QueryResults<ApExecutorInfoEntity> queryLawerById(Pageable pageable, String extractId);



}
